/*

Uniform Theme: Agent
Version: 1.0
By: Collin Allen
License: Creative Commons Share Alike
---
For use with the Uniform plugin:
http://pixelmatrixdesign.com/uniform/

*/

/* Global Declaration */

div.selector, 
div.selector span,
div.checker span,
div.radio span,
div.uploader, 
div.uploader span.action,
div.button,
div.button span {
  background-image: url(/concrete/themes/recursos/js/uniform/themes/formularios-02/images/sprite.png);
  background-repeat: no-repeat;
}

.selector, 
.radio, 
.checker, 
.uploader, 
.button, 
.selector *, 
.radio *, 
.checker *, 
.uploader *, 
.button * {
	margin: 0;
	padding: 0;
}

/* INPUT & TEXTAREA */

input.text,
input.tel,  
input.email, 
input.password, 
textarea.uniform, 
select.form-multiselect, 
input.ccm-input-date {
	font-family: "Lucida Grande", "Lucida Sans Unicode" ,Verdana, Arial, "Segoe UI", sans-serif;
	font-size: 12px;
	line-height: 1em;
	font-weight: bold;
	color: #5f5f5f;
	background: #fff url('/concrete/themes/recursos/js/uniform/images/bg-input-focus.png') repeat-x 0px 0px;
	background: #fff url('/concrete/themes/recursos/js/uniform/images/bg-input.png') repeat-x 0px 0px;
	padding: 3px;
	border: solid 1px #ccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	outline: 0;
}
input.ccm-input-date {
	vertical-align: middle;
	width: 100px;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-right: 10px;
}
	input.text:focus,
	input.tel:focus,
	input.email:focus,
	input.password:focus,
	textarea.uniform:focus, 
	select.form-multiselect:focus, 
	input.ccm-input-date:focus {
		-webkit-box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
		-moz-box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
		box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
		border-color: #999;
		background: #fff url('/concrete/themes/recursos/js/uniform/images/bg-input-focus.png') repeat-x 0px 0px;
	}

/* SPRITES */

/* Select */
div.selector, 
div.selector span, 
div.selector select {
	line-height: 32px;
	height: 32px;
}

div.selector { background-position: -485px -200px; }
	div.selector span { background-position: right 0px; }
	
	div.selector select {
		top: 0px;
		left: 0px;
	}
div.selector:active, 
div.selector.active { background-position: -485px -200px; }
	div.selector:active span, 
	div.selector.active span { background-position: right -40px; }
	
div.selector.focus,
div.selector:hover,  
div.selector.hover { background-position: -485px -280px; }
	div.selector.focus span, 
	div.selector:hover span,  
	div.selector.hover span { background-position: right -80px; }
	
div.selector.focus:active,
div.selector.focus.active,
div.selector:hover:active,
div.selector.active:hover { background-position: -485px -320px; }
	div.selector.focus:active span,
	div.selector:hover:active span,
	div.selector.active:hover span,
	div.selector.focus.active span { background-position: right -120px; }

div.selector.disabled,
div.selector.disabled:active,
div.selector.disabled.active { background-position: -485px -360px; }
	div.selector.disabled span,
	div.selector.disabled:active span,
	div.selector.disabled.active span { background-position: right -160px; }

/* Checkbox */
div.checker, 
div.checker input, 
div.checker span {
	width: 21px;
	height: 21px;
}
	div.checker span { background-position: 0px -430px; }

	div.checker:active span, 
	div.checker.active span { background-position: -30px -430px; }

	div.checker.focus span,
	div.checker:hover span { background-position: -60px -430px; }

	div.checker.focus:active span,
	div.checker:active:hover span,
	div.checker.active:hover span,
	div.checker.focus.active span { background-position: -90px -430px; }

	div.checker span.checked { background-position: -120px -430px; }

	div.checker:active span.checked, 
	div.checker.active span.checked { background-position: -150px -430px; }

	div.checker.focus span.checked,
	div.checker:hover span.checked { background-position: -180px -430px; }

	div.checker.focus:active span.checked,
	div.checker:hover:active span.checked,
	div.checker.active:hover span.checked,
	div.checker.active.focus span.checked { background-position: -210px -430px; }

	div.checker.disabled span,
	div.checker.disabled:active span,
	div.checker.disabled.active span { background-position: -240px -430px; }

	div.checker.disabled span.checked,
	div.checker.disabled:active span.checked,
	div.checker.disabled.active span.checked { background-position: -270px -430px; }

/* radio */
div.radio, 
div.radio input, 
div.radio span {
	width: 21px;
	height: 21px;
}
	div.radio span { background-position: 0px -400px; }

	div.radio:active span, 
	div.radio.active span { background-position: -30px -400px; }

	div.radio.focus span, 
	div.radio:hover span { background-position: -60px -400px; }

	div.radio.focus:active span,
	div.radio:active:hover span,
	div.radio.active:hover span,
	div.radio.active.focus span { background-position: -90px -400px; }
	
	div.radio span.checked { background-position: -120px -400px; }
	
	div.radio:active span.checked,
	div.radio.active span.checked { background-position: -150px -400px; }
	
	div.radio.focus span.checked, div.radio:hover span.checked { background-position: -180px -400px; }
	
	div.radio.focus:active span.checked, 
	div.radio:hover:active span.checked,
	div.radio.focus.active span.checked,
	div.radio.active:hover span.checked { background-position: -210px -400px; }
	
	div.radio.disabled span,
	div.radio.disabled:active span,
	div.radio.disabled.active span { background-position: -240px -400px; }
	
	div.radio.disabled span.checked,
	div.radio.disabled:active span.checked,
	div.radio.disabled.active span.checked { background-position: -270px -400px; }

/* uploader */
div.uploader, 
div.uploader span.action, 
div.uploader span.filename {
  line-height: 30px;
  height: 32px;
}
div.uploader { background-position: 0px -460px; }
	div.uploader span.action {
		background-position: right -700px;
		height: 29px;
	}
	div.uploader span.filename { height: 28px; }

div.uploader.focus,
div.uploader.hover,
div.uploader:hover { background-position: 0px -500px; }
	div.uploader.focus span.action,
	div.uploader.hover span.action,
	div.uploader:hover span.action { background-position: right -620px; }

div.uploader.active span.action,
div.uploader:active span.action { background-position: right -700px; }
	div.uploader.focus.active span.action,
	div.uploader:focus.active span.action,
	div.uploader.focus:active span.action,
	div.uploader:focus:active span.action { background-position: right -700px; }

div.uploader.disabled { background-position: 0px -500px; }
	div.uploader.disabled span.action { background-position: right -580px; }

/* button */
div.button { background-position: 0px -780px; }
	div.button span { background-position: right -940px; }

	div.button.focus,
	div.button:focus,
	div.button:hover,
	div.button.hover { background-position: 0px -820px; }
		div.button.focus span,
		div.button:focus span,
		div.button:hover span,
		div.button.hover span { background-position: right -980px; }

div.button.active,
div.button:active { background-position: 0px -860px; }
	div.button.active span,
	div.button:active span {
		background-position: right -1020px; 
		color: #555;
	}

div.button.disabled,
div.button:disabled { background-position: 0px -900px; }
	div.button.disabled span,
	div.button:disabled span {
		background-position: right -1060px;
		color: #828486;
		cursor: default;
	}

/* PRESENTATION */

/* Button */
div.button { height: 38px; }
	div.button span {
		font-family: "Lucida Grande", "Lucida Sans Unicode" ,Verdana, Arial, "Segoe UI", sans-serif;
		font-size: 12px;
		color: #666;
		font-weight: bold;
		text-shadow: rgba(255,255,255,0.8) 0px 1px 0px;
		letter-spacing: 1px;
		margin-left: 8px;
		height: 26px;
		padding: 12px 24px 0 16px;
	}

/* Select */
div.selector {
	font-family: "Lucida Grande", "Lucida Sans Unicode" ,Verdana, Arial, "Segoe UI", sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #464545;
}
	div.selector select {
		font-family: "Lucida Grande", "Lucida Sans Unicode" ,Verdana, Arial, "Segoe UI", sans-serif;
		font-size: 1em;
		width: 260px;
		border: solid 1px #fff;
	}
	div.selector span {
		color: #5f5f5f;
		text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
		width: 230px;
		padding: 0px 20px 0px 2px;
		cursor: pointer;
	}
	div.selector.disabled span { color: #828486; }

/* checker */
div.checker { margin-right: 4px; }

/* radio */
div.radio {  margin-right: 4px; }

/* uploader */
div.uploader { cursor: pointer; }
	div.uploader span.action {
		font-size: 12px;
		font-weight: bold;
		text-align: center;
		color: #5f5f5f;
		text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
		width: 100px;
		margin-right: -100px
	}
	div.uploader span.filename {
		font-size: 10px;
		color: #464545;
		width: 139px;
		border-right: solid 1px #cfcfcf;
	}

	div.uploader input {
		width: 260px;
	}

	div.uploader.disabled span.action { color: #aaa; }
	div.uploader.disabled span.filename { 
		border-color: #ddd;
		color: #aaa;
	}
/*

CORE FUNCTIONALITY 

Not advised to edit stuff below this line
-----------------------------------------------------
*/

.selector, 
.checker, 
.button, 
.radio, 
.uploader {
  display: -moz-inline-box;
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
  *display: inline;
}

.selector select:focus, 
.radio input:focus, 
.checker input:focus, uploader input:focus { outline: 0; }

/* Button */

div.button a,
div.button button,
div.button input { position: absolute; }

div.button {
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

div.button span {
	display: -moz-inline-box;
	display: inline-block;
	line-height: 1;
	text-align: center;
}

/* Select */
 div.selector {
	position: relative;
	padding-left: 8px;
}
	div.selector span {
		display: block;
		float: left;
	}
	div.selector select {
		position: absolute;
		opacity: 0;
	}

/* checker */
div.checker {
	position: relative;
	float: left;
}
	div.checker span {
		display: block;
		float: left;
		text-align: center;
	}
	div.checker input {
	  opacity: 0;
	  display: inline-block;
	}

/* radio */
div.radio {
	position: relative;
	float: left;
}
	div.radio span {
		display: block;
		float: left;
		text-align: center;
	}
	div.radio input {
	  opacity: 0;
	  text-align: center;
	  display: inline-block;
	}

/* uploader */
div.uploader {
	width: 160px;
	position: relative;
	/*overflow: hidden;*/
}
	div.uploader span.action {
		display: block;
		float: left;
		padding-top: 3px;
		overflow: hidden;
		cursor: pointer;
	}
	div.uploader span.filename {
		white-space: nowrap;
		text-overflow: ellipsis;
		display: block;
		float: left;
		padding: 0 10px;
		margin-top: 3px;
		overflow: hidden;
	}
	div.uploader input {
		float: right;
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		opacity: 0;
	}

/* mensaxe erro */
.msx-form-wrapper {
	padding: 3px;
	margin-top: 1em;
	margin-bottom: 1em;
}
	.msx-form {
		color: #fff;
		text-shadow: rgba(0,0,0,0.4) 0px 1px 0px;
		background-color: #a94242;
		background-image: -moz-linear-gradient(top, #bd6060, #a94242);
		background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#bd6060),  to(#a94242));
		background-image: -ms-linear-gradient(top, #bd6060, #a94242);
		background-image: linear-gradient(top, #bd6060, #a94242);
		border: solid 2px #ccc;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
	}
		.msx-form-inner {
				background: transparent url(../images/msx-form-erro.png) no-repeat 8px 8px;
				padding: 5px 5px 5px 30px;
		}
.msx-erro-ico {
	text-indent: -1000px;
	background: transparent url(../images/msx-form-input-erro.png) no-repeat 0 0;
	display: inline-block;
	vertical-align: middle;
	width: 16px;
	height: 16px;
	overflow: hidden;
}
.msx-estrela-sel, 
.msx-estrela-unsel {
	text-indent: -1000px;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 0 0;
	display: inline-block;
	vertical-align: middle;
	width: 18px;
	height: 18px;
	overflow: hidden;
	cursor: pointer;
}
.msx-estrela-sel { background-image: url(../images/msx-estrela-sel.png); }
.msx-estrela-unsel { background-image: url(../images/msx-estrela-unsel.png); }
	/*.msx-estrela-sel:hover { background-image: url(../images/msx-estrela-unsel.png); }
	.msx-estrela-unsel:hover { background-image: url(../images/msx-estrela-sel.png); }*/


.selectFechaHora .selectHora span { width: 50px!important; }
.selectFechaHora .selectMinutos span { width: 50px!important; }
.selectFechaHora select { width: 80px!important; }